package com.ruoyi.mk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 终端管理对象 mk_zdgl
 * 
 * @author guan
 * @date 2021-12-10
 */
public class MkZdgl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 
外键  用户编号 用户表 */
    @Excel(name = " 外键  用户编号 用户表")
    private String zdYonghu;

    /** 外键 网关表 网关编号 */
    @Excel(name = "外键 网关表 网关编号")
    private Long wgId;

    /** MAC */
    @Excel(name = "MAC")
    private String zdMac;

    /** 终端类型
终端类型 */
    @Excel(name = "终端类型 终端类型")
    private String zdLeixing;

    /** 信号强度 */
    @Excel(name = "信号强度")
    private Long zdQiangdu;

    /** 剩余电量 */
    @Excel(name = "剩余电量")
    private Long zdDianliang;

    /** 当前数据 */
    @Excel(name = "当前数据")
    private String zdShuju;

    /** 0/1  0正常 1异常 报警状态 */
    @Excel(name = "0/1  0正常 1异常 报警状态")
    private Long zdBaojing;

    /** 报警详情 */
    @Excel(name = "报警详情")
    private String zdXiangjin;

    /** 0/1 0开启 1关闭消警 */
    @Excel(name = "0/1 0开启 1关闭消警")
    private Long zdXiaojing;

    /** 0/1 0在线 1离线 在线状态 */
    @Excel(name = "0/1 0在线 1离线 在线状态")
    private Long zdZaixianzhuangtai;

    /** 0/1 0正常 1删除 是否删除 */
    @Excel(name = "0/1 0正常 1删除 是否删除")
    private Long zdZhuangtai;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zdCreatetime;

    /** 创建者 */
    @Excel(name = "创建者")
    private String zdCreateuser;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zdUpdatetime;

    /** 修改者 */
    @Excel(name = "修改者")
    private String zdUpdateuser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setZdYonghu(String zdYonghu) 
    {
        this.zdYonghu = zdYonghu;
    }

    public String getZdYonghu() 
    {
        return zdYonghu;
    }
    public void setWgId(Long wgId) 
    {
        this.wgId = wgId;
    }

    public Long getWgId() 
    {
        return wgId;
    }
    public void setZdMac(String zdMac) 
    {
        this.zdMac = zdMac;
    }

    public String getZdMac() 
    {
        return zdMac;
    }
    public void setZdLeixing(String zdLeixing) 
    {
        this.zdLeixing = zdLeixing;
    }

    public String getZdLeixing() 
    {
        return zdLeixing;
    }
    public void setZdQiangdu(Long zdQiangdu) 
    {
        this.zdQiangdu = zdQiangdu;
    }

    public Long getZdQiangdu() 
    {
        return zdQiangdu;
    }
    public void setZdDianliang(Long zdDianliang) 
    {
        this.zdDianliang = zdDianliang;
    }

    public Long getZdDianliang() 
    {
        return zdDianliang;
    }
    public void setZdShuju(String zdShuju) 
    {
        this.zdShuju = zdShuju;
    }

    public String getZdShuju() 
    {
        return zdShuju;
    }
    public void setZdBaojing(Long zdBaojing) 
    {
        this.zdBaojing = zdBaojing;
    }

    public Long getZdBaojing() 
    {
        return zdBaojing;
    }
    public void setZdXiangjin(String zdXiangjin) 
    {
        this.zdXiangjin = zdXiangjin;
    }

    public String getZdXiangjin() 
    {
        return zdXiangjin;
    }
    public void setZdXiaojing(Long zdXiaojing) 
    {
        this.zdXiaojing = zdXiaojing;
    }

    public Long getZdXiaojing() 
    {
        return zdXiaojing;
    }
    public void setZdZaixianzhuangtai(Long zdZaixianzhuangtai) 
    {
        this.zdZaixianzhuangtai = zdZaixianzhuangtai;
    }

    public Long getZdZaixianzhuangtai() 
    {
        return zdZaixianzhuangtai;
    }
    public void setZdZhuangtai(Long zdZhuangtai) 
    {
        this.zdZhuangtai = zdZhuangtai;
    }

    public Long getZdZhuangtai() 
    {
        return zdZhuangtai;
    }
    public void setZdCreatetime(Date zdCreatetime) 
    {
        this.zdCreatetime = zdCreatetime;
    }

    public Date getZdCreatetime() 
    {
        return zdCreatetime;
    }
    public void setZdCreateuser(String zdCreateuser) 
    {
        this.zdCreateuser = zdCreateuser;
    }

    public String getZdCreateuser() 
    {
        return zdCreateuser;
    }
    public void setZdUpdatetime(Date zdUpdatetime) 
    {
        this.zdUpdatetime = zdUpdatetime;
    }

    public Date getZdUpdatetime() 
    {
        return zdUpdatetime;
    }
    public void setZdUpdateuser(String zdUpdateuser) 
    {
        this.zdUpdateuser = zdUpdateuser;
    }

    public String getZdUpdateuser() 
    {
        return zdUpdateuser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zdYonghu", getZdYonghu())
            .append("wgId", getWgId())
            .append("zdMac", getZdMac())
            .append("zdLeixing", getZdLeixing())
            .append("zdQiangdu", getZdQiangdu())
            .append("zdDianliang", getZdDianliang())
            .append("zdShuju", getZdShuju())
            .append("zdBaojing", getZdBaojing())
            .append("zdXiangjin", getZdXiangjin())
            .append("zdXiaojing", getZdXiaojing())
            .append("zdZaixianzhuangtai", getZdZaixianzhuangtai())
            .append("zdZhuangtai", getZdZhuangtai())
            .append("zdCreatetime", getZdCreatetime())
            .append("zdCreateuser", getZdCreateuser())
            .append("zdUpdatetime", getZdUpdatetime())
            .append("zdUpdateuser", getZdUpdateuser())
            .toString();
    }
}
